
# Building Chisel examples without too much sbt/scala/... stuff

SBT = sbt

fetch-test:
	$(SBT) "testOnly fetch.HexTest"

decode-test:
	$(SBT) "testOnly decode.HexTest"

lw-test:
	$(SBT) "testOnly lw.HexTest"

sw-test:
	$(SBT) "testOnly sw.HexTest"

riscv-test:
	$(SBT) "testOnly riscvtests.RiscvTest"

c-test:
	$(SBT) "testOnly ctest.HexTest"

pipeline-test:
	$(SBT) "testOnly pipeline.HexTest"

pipeline-to-sv:
	$(SBT) "runMain pipeline.Main"


# clean everything (including IntelliJ project settings)
clean:
	git clean -fd
